package io.renren.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 信息投票
 *
 * @author liuyujun 384880231@qq.com
 * @since 3.0 2022-01-13
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class AssemblyVoteExcel {
    @ExcelProperty(value = "主题", index = 0)
    private String title;
    @ExcelProperty(value = "内容", index = 1)
    private String content;
    @ExcelProperty(value = "图片", index = 2)
    private String imgurl;
    @ExcelProperty(value = "备选项", index = 3)
    private String alternative;
    @ExcelProperty(value = "投票ID", index = 4)
    private Long allowVotersId;
    @ExcelProperty(value = "投票人区域", index = 5)
    private Integer allowVotersRange;
    @ExcelProperty(value = "投票人类型", index = 6)
    private Integer allowVotersType;
    @ExcelProperty(value = "结果", index = 7)
    private String result;
    @ExcelProperty(value = "开始时间", index = 8)
    private Date startTime;
    @ExcelProperty(value = "结束时间", index = 9)
    private Date endTime;
    @ExcelProperty(value = "匿名", index = 10)
    private Boolean anonymous;
    @ExcelProperty(value = "多选", index = 11)
    private Boolean checks;
    @ExcelProperty(value = "说明", index = 12)
    private String remark;
    @ExcelProperty(value = "创建人", index = 13)
    private String creator;
    @ExcelProperty(value = "创建时间", index = 14)
    private Date createDate;
}